<template>
  <div class="comtitle">
    {{ title }}
  </div>
</template>

<script>

export default {
  name: 'comtitle',
  props: [
      'title'
  ],
  components: {

  },
  created() {
    document.title = this.title
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="scss" scoped>
.comtitle{
  height: 0;
  overflow: hidden;
}
</style>
